﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using D.WPF.MVVM;

namespace CarAppClient.Views.LeftMenu.Models
{
    /// <summary>
    /// 菜单
    /// </summary>
    public class MenuItemModel : BaseMvvm
    {
        private bool _isVisible = true;
        private string _queriesText = string.Empty;

        public string? Name { get; set; }

        public string? GroupName { get; set; }

        public string? TargetCtlName { get; set; }

        public object? ImageBrush { get; set; }

        public string? PageKey { get; set; }

        public bool IsNew { get; set; }

        public string? Description { get; set; }

        public string QueriesText
        {
            get => _queriesText;
            set { _queriesText = value; RaisePropertyChanged(); }
        }

        public bool IsVisible
        {
            get => _isVisible;
            set { _isVisible = value; RaisePropertyChanged(); }
        }

    }
}
